@extends('backend::layout')
@section('title',$page_title)
@section('content')
    @component('backend::component.table.table-content')
        @slot('page_title') {{$page_title}} @endslot
        @slot('tools_btn')
            @component('backend::component.form.button')
                @slot('title') 添加菜单 @endslot
                @slot('elem') a @endslot
                @slot('color') primary @endslot
                @slot('icon') hcl-edit @endslot
                @slot('href') {{route('b_Menu_addMenus')}} @endslot
            @endcomponent
        @endslot
        @slot('body_content')
            <table class="table table-bordered table-striped table-condensed">
                <thead>
                <tr>
                    <th style="width: 30px;">
                        <label class="checkbox-inline">
                            @component('backend::component.checkbox')
                                @slot('name') ids-all @endslot
                            @endcomponent
                        </label>
                    </th>
                    <th>菜单名称</th><th>排序</th><th>状态</th><th>操作</th>
                </tr>
                </thead>
                <tbody>
                   @includeWhen(isset($list),'backend::menu.child_menu',['list'=>$list])
                </tbody>
            </table>
        @endslot
    @endcomponent
@endsection